package Data;

import java.io.Serializable;

public class event<T> implements Serializable {
    private static final long serialVersionUID = 5442710183388828792L;

    private String type;
    private T t;

    public event(String type, T t) {
        this.type = type;
        this.t = t;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public event() {
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

//    public String toString()
//    {
//
//    }
}
